// import Login from '../view/Login/Login'
import { Navigate } from 'react-router-dom'
import Map from '../view/dyx_model/Map/Map'
import Video from '../view/wh_model/Home'
import Dyxsou from '../view/dyx_model/Sou/dyx_Sou'
import Publish from '../view/wh_model/Publish/index'

import Login from '../view/myj_model/Login'
import Mima from '../view/myj_model/mima/Mima'
import Asd from '../view/myj_model/Asd'
const name = '聂润泽'
import Shou from '../view/dyx_model/Shou/Shou'
import Foot from '../view/dyx_model/Foot/Foot'
import Message from '../view/message/message/message'
import Orders from '../view/message/order/order'
import Find_jing from '../view/dyx_model/Find_jing/Find_jing'

//消息
import Interaction from '../view/message/interaction/interaction'
import System from '../view/message/system/system'
import Setting from '../view/message/setting/setting'
import Private from '../view/message/private/private'


//个人设置
import Settings from '../view/setting/setting/setting'
import User from '../view/setting/user/user'
import Revamp from '../view/setting/revamp/revamp'
import Sign from '../view/setting/sign/sign'
import Safety from '../view/setting/safety/safety'
import Person from '../view/setting/person/person'
import Pasword from '../view/setting/pasword/pasword'
import Buddha from '../view/setting/buddha/buddha'
import Alter from '../view/setting/alter/alter'


import List from '../view/lfr-model/List/List'
import Sea from '../view/lfr-model/Sea/Sea'
import Search from '../view/lfr-model/Search/Search'
import Detail from '../view/lfr-model/Detail/Detail'
import Buy from '../view/lfr-model/Buy/Buy'
import Indent from '../view/lfr-model/Indent/Indent'
import Vx from '../view/lfr-model/Vx/Vx'

//我的——已登录
import In_Login from '../view/In_Login/In_Login'
//个人组件
import MainArticles from '../view/MainArticles/MainArticles'
//订单页面

// import Order from '../view/Order/Order'



// import Orders from '../view/Order/Order'
import Orders from '../view/Order/Order'
import Order from '../view/Order/Order'
//搜索订单
import SearchOrder from '../view/SearchOrder/SearchOrder'
//待支付
import Not_used from '../view/Not_used/Not_used';
//未使用
import Pending from '../view/Pending/Pending'

//个人设置
import Settings from '../view/setting/setting/setting'
import User from '../view/setting/user/user'
import Revamp from '../view/setting/revamp/revamp'
import Sign from '../view/setting/sign/sign'
import Safety from '../view/setting/safety/safety'
import Person from '../view/setting/person/person'
import Pasword from '../view/setting/pasword/pasword'
import Buddha from '../view/setting/buddha/buddha'
import Alter from '../view/setting/alter/alter'
//消息
// import Message from '../view/message/message/message'
// import Order from '../view/message/order/order'
// import Interaction from '../view/message/interaction/interaction'
// import System from '../view/message/system/system'
// import Setting from '../view/message/setting/setting'
// import Private from '../view/message/private/private'

// yuling
// import Shou from "../component/shou/Shou";
import Picture from '../component/pl/Picture'

//订单追踪
import Track from '../view/Track/Track'
//取消订单页面
import Cancel from '../view/Cancel/Cancel'
//退订页面
import Unsubscribe from '../view/Unsubscribe/Unsubscribe'

import Pl from "../component/pl/Pl";
//搜索页面
import Dyx_Find from '../view/dyx_model/dyx_Find/dyx_Find'

const a = 100
//未登录我的页面
import Not_Logged from '../view/Not_Logged_In/Not_Logged_In'
//未登录消息页面
import Future from '../view/message/future/future'
let routes = [
    {
        path: "/Login",
        element: <Login></Login>
    },
    {
        path: "/alter",
        element: <Alter />
    },
    {
        path: "/future",
        element: <Future />
    },
    {
        path: "/buddha",
        element: <Buddha />
    },
    {
        path: "/pasword",
        element: <Pasword />
    },
    {
        path: "/person",
        element: <Person />
    },
    {
        path: "/sign",
        element: <Sign />
    },
    {
        path: "/safety",
        element: <Safety />
    },

    {
        path: "/Login",
        element: <Login />
    },
    {
        path: "/system",
        element: <System />
    },
    {
        path: "/private",
        element: <Private />
    },
    {
        path: "/setting",
        element: <Setting />
    },
    {
        path: "/message",
        element: <Message />
    },
    {
        path: "/interaction",
        element: <Interaction />
    },
    {

        path: "/order",
        element: <Order />
    },
    {

        path: "/orders",
        element: <Orders />

    }, {
        path: "/revamp",
        element: <Revamp />
    },
    {
        path: "/user",
        element: <User />
    },
    {
        path: "/settings",
        element: <Settings />
    },
    {
        path: "/Login",
        element: <Login />

    },
    {
        path: "/orders",
        element: <Orders />
    },
    {
        path: "/asd",
        element: <Asd />
    },
    {
        path: "/mima",
        element: <Mima />
    },
    {
        path: "/",
        element: <Navigate to="/Foot/Shou" />
    },
    {
        path: "/asd",
        element: <Asd />

    },
    {
        path: "/mima",
        element: <Mima />
    },
    {
        path: "/",
        element: <Navigate to="/Login" />
    },
    {
        path: "/Map",
        element: <Map />
    },
    {
        path: '/mainArticles',
        element: <MainArticles />
    },
    {
        path: "/order",
        element: <Order />
    },
    {
        path: '/searchOrder',
        element: <SearchOrder />
    },
    {
        path: '/notused',
        element: <Not_used />
    },
    {
        path: '/pending',
        element: <Pending />
    },
    {
        path: '/track',
        element: <Track />
    },
    {
        path: '/cancel',
        element: <Cancel />
    },
    {
        path: "/unsubscribe",
        element: <Unsubscribe />
    },
    {
        path: '/not_Logged',
        element: <Not_Logged />
    },
    {
        path: "/Foot",
        element: <Foot />,
        children: [
            {
                path: "Shou",
                element: <Shou />
            },
            {
                path: 'video',
                element: <Video />
            },
            {
                path: 'in_Login',
                element: <In_Login />
            },
            {
                path: "message",
                element: <Message />
            }
        ]
    },
    {
        path: '/list',
        element: <List ></List>
    }, {
        path: '/sea',
        element: <Sea ></Sea>
    }, {
        path: '/detail',
        element: <Detail ></Detail>
    }, {
        path: '/search',
        element: <Search ></Search>
    }, {
        path: '/buy',
        element: <Buy ></Buy>
    }, {
        path: '/indent',
        element: <Indent ></Indent>
    }, {
        path: '/wx',
        element: <Vx ></Vx>


    {
        path: "/Dyxsou",
        element: <Dyxsou />
    },

    // {path:"/shou",element:<Shou></Shou>},
    {
        path: "/pl/:id",
        element: <Pl></Pl>
    },
    {
        path: "/picture",
        element: <Picture></Picture>
    },
    {
        path: '/Dyx_Find',
        element: <Dyx_Find />
    },
    {
        path: "/Find_jing",
        element: <Find_jing />
    },
    {
        path: '/publish',
        element: <Publish />
    },
    {
        path: "/future",
        element: '聂润泽'
    },
    {
        path: "/nierunz",
        element: '刘畅硕'
    }
]

export default routes;